#include "ofxSuperSimpleSerial.h"

void ofxSuperSimpleSerial::request() {
    writeByte('a');
}

string ofxSuperSimpleSerial::readLine() {
    string returnValue;
    unsigned char bytes[1] = {0};
    while (bytes[0]!='\n') {
         if (readBytes(bytes,1)>0) returnValue+=bytes[0];
    }
    return returnValue;
}
